//
//  ShareSDKDM.h
//  ShareSDKDM
//
//  Created by apple on 2018/3/6.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ShareSDKConnector/ShareSDKConnector.h>

#import <ShareSDK/ShareSDK.h>
#import <ShareSDKUI/ShareSDK+SSUI.h>

//腾讯开放平台（对应QQ和QQ空间）SDK头文件
#import <TencentOpenAPI/TencentOAuth.h>
#import <TencentOpenAPI/QQApiInterface.h>

//微信SDK头文件
#import "WXApi.h"

//新浪微博SDK头文件
#import "WeiboSDK.h"
//新浪微博SDK需要在项目Build Settings中的Other Linker Flags添加"-ObjC"

// 导入头文件
#import <ShareSDKExtension/SSEThirdPartyLoginHelper.h>

@interface ShareSDKDM : NSObject


//初始化第三方平台
+ (void)share_RegisterActivePatformsCompeletion:(void(^)(NSError * error))handler;

//登录第三方平台
+ (void)share_loginPlatform:(SSDKPlatformType)platform fetchUserInfo:(void(^)(SSDKUser *user))compeletion result:(void(^)(NSError *error))result;

//分享到第三方平台
+ (void)share_sharePlatform:(SSDKPlatformType)platform title:(NSString *)title images:(NSArray *)images  content:(NSString *)content url:(NSString *)url compeletion:(void(^)(SSDKResponseState state,NSError *error))compeletion;

+ (BOOL)checkInstallWX;

+ (BOOL)checkInstallQQ;
@end
